package com.cda.dao;

import com.cda.entity.SfdevicebindEntity;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.transaction.annotation.Transactional;


@Transactional
public interface SfdevicebindDao extends CrudRepository<SfdevicebindEntity,String> {

     @Query("from SfdevicebindEntity where clientIp = ?1")
     SfdevicebindEntity findByClientIp(String clientIp);

}
